/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package DSENS;

/**
 *
 * @author teeteto
 */
public abstract class AbstractMessage {
    private static int messageidentifier=-1;
    private final int ID;

    public AbstractMessage() {
        AbstractMessage.messageidentifier++;
        this.ID = AbstractMessage.messageidentifier;
    }

    public int getID() {
        return ID;
    }

    public abstract void printMessage();
}
